Base Station

../_images/base_station.jpg

Specifications

Parameter Test Condition Value Unit
Supply Voltage   5 V
Current   97 mA
Transmission distance   5 m

Bill of Materials

Qty Description Datasheet Vendor
1 Base Station PCB   OSH Park
1 Microcontroller ATTINY85 Octopart
1 FTDI USB to Serial Converter FT230X
1 Infrared LED VSMS3700
1 RJ45 Horizontal connector 54602-908LF
1 Female micro USB horizontal socket 10118193-0001LF
1 NPN Transistor PN2222A
2 0805 27 Ω Resistor  
1 1/4W 39 Ω Resistor  
1 0805 4.7 kΩ Resistor  
3 0805 10 kΩ Resistor  
1 0805 100 Ω Resistor  
2 0805 4.7 μF Capacitor  
2 0805 100 nF Capacitor  

Build Instructions

Required Tools

  • Soldering iron
  • Tweezers

FTDI USB to Serial Converter Setup

The FTDI USB to serial converter should be setup such that it is powered from the Base Station PCB, not powered over USB. In order to implement this, the settings on the chip’s EEPROM need to be modified. FTDI provides a utility to do this, which you should download here

  1. Open up Device Manager and reveal the Ports (COM & LPT) list
  2. Connect the Base Station to the computer over USB. It should Appear under ports as “USB Serial Port (COMxx)”

Error

If the device doesn’t appear int he Ports list at all, you many need to connect power to the Base Station via the RJ45 jack or DC input jack

Error

If the device appears in the Ports list as an “Unknown device”, then you can manually download and install the FTDI FT230X Driver

  1. Open up FT Prog and go to DEVICES–>Scan and Parse
../_images/scanandparse.png
  1. Select “USB Config Descriptor” in the Device Tree. Select “Self Powered” and change the “Max Bus Power” to 0.
../_images/USBconfig.png
  1. Go to DEVICES–>Program
../_images/program.png
  1. Click “Program”
../_images/flash.png

Uploading Firmware

Attention

If you have not yet setup the Arduino environment or the Cerebro Utility Shield, refer to Setting up Arduino IDE and/or Setting up Utility Shield before moving on.

  1. With the notch facing down, place the chip in the lower portion of the Utility Shield’s ZIF socket.
../_images/85_upload.png
  1. Open up the Arduino application and make the following selections under the Tools menu:
Board: “Base Station (ATtiny85)”
Port: “COMXX (Arduino/Genuino Uno)”
Programmer: “Arduino as ISP”

../_images/tools_attiny84.png
  1. Burn the bootloader by selecting Tools -> Burn Bootloader
../_images/basestation_bootloader.png
  1. Choose the Base Station firmware by going to File -> Sketchbook -> Cerebro Sketches -> baseStation
../_images/basestation_firmware.png
  1. Upload the firmware by clicking the upload arrow
../_images/upload.png